<template>
    <div>
        <RelateTaskJira v-bind="$attrs" @success="handleSuccess" />
        <RelateRequireJira v-bind="$attrs" @success="handleSuccess" />
    </div>
</template>

<script lang="ts">
import RelateRequireJira from './RelateRequireJira.vue';
import RelateTaskJira from './RelateTaskJira.vue';
import { defineComponent } from 'vue';
export default defineComponent({
    components: {
        RelateRequireJira,
        RelateTaskJira
    },

    emits: ['success'],
    setup(props, { emit }) {
        const handleSuccess = () => {
            emit('success', true);
        };
        return { handleSuccess };
    }
});
</script>

<style scoped lang="less">
</style>